package com.rpc.core.remoting;

import com.rpc.core.holder.transmit.Request;
import com.rpc.core.holder.transmit.RequestSync;
import com.rpc.core.holder.transmit.Response;
import io.netty.channel.ChannelHandler;


public interface Client {

    void sendSync(RequestSync request);

    void send(Request request);

    void remove(int id);

    void start(String ip, int port) throws Exception;

    void stop();


}
